π¨ Sketch Of The Day
(
32
actions, 32 KB)
0 Text
γβ π¨ Sketch Of The Day
γΒ»
29
30
π¨ Sketch Of The Day
1 URL
https://sketchplanations.com
γβ baseURL
γΒ»
2
10
27
2 Get Contents of URL
[1 baseURL]
/categories
γΒ»
3 Make HTML from Rich Text
[2 Contents of URL]
γΒ»
4 Split Text
[3 HTML from Rich Text]
by
Custom
γΒ»
TextCustomSeparator
:
BuyMeACoffee
5 Get First Item from List
[4 Split Text]
γΒ»
6 Match Text
<a class="block" href="/categories/(.*?)">
in
[5 Item from List]
γΒ»
MatchTextCaseSensitive
:
false
7 Get Match
Group At Index
1 in
[6 Matches]
γΒ»
8 Get
Random Item
from List
[7 Text]
γΒ»
9 Make Rich Text from HTML
[8 Item from List]
γΒ»
10 Get Contents of URL
[1 baseURL]
/categories/
[9 Rich Text from HTML]
γΒ»
11 Make HTML from Rich Text
[10 Contents of URL]
γΒ»
12
14
17
12 Match Text
SketchplanationCard_title\S+">(.*?)</span>
in
[11 HTML from Rich Text]
γΒ»
MatchTextCaseSensitive
:
true
13 Get Match Group At Index 1 in
[12 Matches]
γβ sketchTitles
γΒ»
19
21
14 Match Text
SketchplanationCard_root.*?href="(/[^"]+)"
in
[11 HTML from Rich Text]
γΒ»
MatchTextCaseSensitive
:
true
15 Get Match Group At Index 1 in
[14 Matches]
γβ sketchURLs
γΒ»
26
16 URL
https://images.prismic.io/sketchplanations
γβ https://images.prismic.io/sketchplanations
γΒ»
17
25
17 Match Text
srcSet="
[16 https://images.prismic.io/sketchplanations]
/([^?]+)?
in
[11 HTML from Rich Text]
γΒ»
MatchTextCaseSensitive
:
true
18 Get Match
Group At Index
1 in
[17 Matches]
γβ sketchFilenames
γΒ»
24
19 Count Items in
[13 sketchTitles]
γΒ»
20 Random Number between
1
and
[19 Count]
γΒ»
21
24
26
21 Get
Item At Index
[20 Random Number]
from List
[13 sketchTitles]
γβ sketchTitle
γΒ»
22 Make Rich Text from HTML
[21 sketchTitle]
γβ sketchTitle
γΒ»
23
30
23 Change
[22 sketchTitle]
to
Capitalize with sentence case
γΒ»
28
24 Get
Item At Index
[20 Random Number]
from List
[18 sketchFilenames]
γΒ»
25 URL
[16 https://images.prismic.io/sketchplanations]
/
[24 Item from List]
γβ imageURL
γΒ»
30
26 Get
Item At Index
[20 Random Number]
from List
[15 sketchURLs]
γΒ»
27 URL
[1 baseURL]
[26 Item from List]
γβ sketchURL
γΒ»
28
29
28 Add New Reminder
[
[23 Updated Text]
](
[27 sketchURL]
)
to Reminders with No Alert
URL
:
[27 sketchURL]
29 DictionaryγΒ»
{ "type": "
[0 π¨ Sketch Of The Day]
", "url": "
[27 sketchURL]
" }
30 DictionaryγΒ»
{ "title": "
[0 π¨ Sketch Of The Day]
", "body": "
[22 sketchTitle]
", "imageSource": "
[25 imageURL]
", "actionShortcutInput": "
[29 Dictionary]
" }
31 Run Shortcut
_Build Rich Notification
Input
:
[30 Dictionary]
Workflow
:
{ "workflowIdentifier": "2852E533-A8D3-461A-901C-0A4532842788", "workflowName": "_Build Rich Notification", "isSelf": false }